<?php
function inc()
{
  static  $i=1;
  echo $i;
  $i++;
  echo "<br>";
}
inc();
inc();
inc();
inc();
inc();
